package day13.part2;

/**
 * @Author juzipi
 * @Date 2021/6/28 18:38
 * @Info
 */
public class Teacher extends Person {

    String age;


    public Teacher(String name) {
        super(name);
    }

    @Override
    public void eat() {
        System.out.println("真正的吃");
    }

    public void getAge(){
        System.out.println(age);
    }

}
